package com.ruoyi.WELD.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.StringUtils;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Weld extends BaseWeld {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @Excel(name = "焊点号", sort = 1)
    private String sjNumber;

    @Excel(name = "机器人", sort = 2)
    private String robot;

    public Weld() {
    }

    public Weld(Integer gaugeNumber, String electrodeForm, String parametricForm, String material1, Double materialThickness1, String gumming1, String material2, Double materialThickness2, String gumming2, String material3, Double materialThickness3, String gumming3, String material4, Double materialThickness4, String stress, Double preloadingTime, Double pressurizationTime, Double preheatingTime, Double preheatingCurrent, Double coolingTime, Double incrementalTime, Double startingCurrent, Double weldingTime, Double weldingCurrent, Double coolingTime1, Double declineTime, Double terminationCurrent, Double pulseFrequency, Double coolingTime2, Double temperingTime, Double temperingCurrent, Double holdTime, String temperingMethod, String preheatingMethod, String weldingMethod, String increaseDecrease, Integer id, String sjNumber, String robot) {
        super(gaugeNumber, electrodeForm, parametricForm, material1, materialThickness1, gumming1, material2, materialThickness2, gumming2, material3, materialThickness3, gumming3, material4, materialThickness4, stress, preloadingTime, pressurizationTime, preheatingTime, preheatingCurrent, coolingTime, incrementalTime, startingCurrent, weldingTime, weldingCurrent, coolingTime1, declineTime, terminationCurrent, pulseFrequency, coolingTime2, temperingTime, temperingCurrent, holdTime, temperingMethod, preheatingMethod, weldingMethod, increaseDecrease);
        this.id = id;
        this.sjNumber = sjNumber;
        this.robot = robot;
    }

    @Override
    public String toString() {
        return "Weld{" +
                "id=" + id +
                ", sjNumber='" + sjNumber + '\'' +
                ", robot='" + robot + '\'' +
                '}';
    }
}
